decode{
  if (!handshaked) {
    final HandshakeMessage message=new HandshakeMessage();
    return message;
    io.netty.buffer.ChannelBuffer.readableBytes
    final PeerWireMessage message;
      message=new CancelMessage();
    break;
  message=new BitFieldMessage();
break;
message=new ChokeMessage();
break;
message=new HaveMessage();
break;
break;
case NotInterestedMessage.MESSAGE_ID:
message=new NotInterestedMessage();
break;
case BlockMessage.MESSAGE_ID:
break;
case PortMessage.MESSAGE_ID:
break;
case RequestMessage.MESSAGE_ID:
break;
case UnchokeMessage.MESSAGE_ID:
break;
}
setHandshaked{ }
